<template>
	<view class="countdown">
		<view v-if="countDownList.length>0">
			<view v-for="(i,index) in 2" class="num">{{ countDownList[index].hou }}:{{ countDownList[index].min }}:{{ countDownList[index].sec }}</view>
		</view>
	</view>
</template>

<script>
	export default{
		name: 'countdown',
		data() {
			return{
				countDownList:[]
			}
		},
		onLoad() {
			this.time()
		},
		methods:{
			time() {
				setInterval(() => {
					this.countDownList = this.$Function.CountDown([1814162228,1844162212])
				}, 1000);
				
			},
		}
	}
</script>

<style>
</style>
